//
//  EnterDetailsViewController.h
//  AirConditioner
//
//  Created by Sean Wang on 12-4-19.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface EnterDetailsViewController : UIViewController <UIActionSheetDelegate>{
    BOOL hasCheckHeats;
    BOOL hasCheckInsulation;
    BOOL hasCheckWindow;
    
    NSInteger iWidth;
    NSInteger iLength;
    NSString *widthString;
    NSString *lengthString;
    NSString *meterString;
    NSString *ftString;
    
    BOOL isInMeterMode;
    
    UIViewController *detailsViewController;
}

@property (nonatomic,retain) IBOutlet UIButton *heatsAndCools;
@property (nonatomic,retain) IBOutlet UIButton *coolsOnly;
@property (nonatomic,retain) IBOutlet UIButton *insulationYes;
@property (nonatomic,retain) IBOutlet UIButton *insulationNo;
@property (nonatomic,retain) IBOutlet UIButton *westWindowYes;
@property (nonatomic,retain) IBOutlet UIButton *westWindowNo;

@property (nonatomic, retain) IBOutlet UISlider *widthSlider;
@property (nonatomic, retain) IBOutlet UISlider *lengthSlider;

@property (nonatomic, retain) IBOutlet UILabel *widthLabel;
@property (nonatomic, retain) IBOutlet UILabel *lengthLabel;
@property (nonatomic, retain) IBOutlet UILabel *areaLabel;
@property (nonatomic, retain) IBOutlet UILabel *widthSliderMin;
@property (nonatomic, retain) IBOutlet UILabel *widthSliderMax;
@property (nonatomic, retain) IBOutlet UILabel *lengthSliderMin;
@property (nonatomic, retain) IBOutlet UILabel *lengthSliderMax;


- (IBAction)widthSliderAction:(id)sender;
- (IBAction)lengthSliderAction:(id)sender;

- (IBAction)toggleHeatsAndCools:(id)sender;
- (IBAction)toggleInsulation:(id)sender;
- (IBAction)toggleWestWindow:(id)sender;

- (IBAction)goToDetails:(id)sender;

@end
